using UnityEngine;
using UnityEngine.UI;

public class SpecialPack : MonoBehaviour
{
	[SerializeField]
	private Network network;

	[SerializeField]
	private Text goldenPackPrice;

	[SerializeField]
	private Text purplePackPrice;

	private void OnEnable()
	{
		//goldenPackPrice.text = InAppPurchase.instance.GetLocalizePrice(7);
		//purplePackPrice.text = InAppPurchase.instance.GetLocalizePrice(6);
	}

	//public void BuyPurplePack()
	//{
	//	network.CheckInternetConnection(delegate
	//	{
	//		InAppPurchase.instance.BuyProduct(6, delegate
	//		{
	//			Notify.instance.ShowNotification("Purchase Complete.");
	//			Boost.instance.IdleCashBoost = 2;
	//			Item item = new Item
	//			{
	//				itemTYPE = ItemTYPE.BoostIncome,
	//				boostDuration = -1,
	//				boostEffective = 2,
	//				itemCount = 1
	//			};
	//			Inventory.instance.Add(item);
	//			Sound.instance.Play("Purchased");
	//		});
	//	});
	//}

	//public void BuyGoldPack()
	//{
	//	network.CheckInternetConnection(delegate
	//	{
	//		InAppPurchase.instance.BuyProduct(7, delegate
	//		{
	//			Notify.instance.ShowNotification("Purchase Complete.");
	//			Boost.instance.IdleCashBoost = 2;
	//			Sound.instance.Play("Purchased");
	//		});
	//	});
	//}
}
